package com.smile.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ToString
@TableName(value = "feisuan_way_point")
public class FeisuanWayPoint implements Serializable {


    private static final long serialVersionUID = 1L;

    /**
     * 主键Id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 航点名称
     */
    @TableField(value = "way_point_name")
    private String wayPointName;

    /**
     * 0 WGS84 1百度 2高德
     */
    @TableField(value = "position_type")
    private Integer positionType;

    /**
     * 经度
     */
    @TableField(value = "longitude")
    private BigDecimal longitude;

    /**
     * 纬度
     */
    @TableField(value = "latitude")
    private BigDecimal latitude;

    /**
     * 飞行高度
     */
    @TableField(value = "height")
    private BigDecimal height;

    /**
     * 航点飞行速度
     */
    @TableField(value = "waypoint_speed")
    private BigDecimal waypointSpeed;

    /**
     * 0广角 1变焦
     */
    @TableField(value = "image_format")
    private Integer imageFormat;

    /**
     * 0沿航线方向 1手动控制 2锁定当前偏航角
     */
    @TableField(value = "attitude_head")
    private Integer attitudeHead;

    /**
     * 航线id
     */
    @TableField(value = "airline_id")
    private Long airlineId;

    /**
     * 航点编号
     */
    @TableField(value = "`index`")
    private Integer index;

}
